
<style type="text/css">
.imei .nrow input{
	float:left;
	margin:10px !important;
}

.imei .nrow{
width:100%;
}
</style>
<?php
/* @var $this SiteController */
/* @var $model ContactForm */
/* @var $form CActiveForm */

$this->pageTitle=Yii::app()->name . ' - Check Imei';
$this->breadcrumbs=array(
	'Check IMEI Info',
);
?>
<h1>Check IMEI Info</h1>
<div class='imei'>
<?php if(Yii::app()->user->hasFlash('contact')): ?>

<div class="flash-success">
	<?php echo Yii::app()->user->getFlash('contact'); ?>
</div>

<?php else: ?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'contact-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>

	<div class="nrow">
		<?php echo $form->textField($model,'imei',  array('placeholder'=>'Enter IMEI')); ?>
		<?php echo CHtml::submitButton('Check'); ?>
	</div>
</br>
	<div class="nrow">
		<?php echo $form->labelEx($model,'result'); ?>
		<?php echo $form->textArea($model,'result', array('rows'=>55, 'cols'=>75)); ?>
		<?php echo $form->error($model,'result'); ?>
	</div>

<?php $this->endWidget(); ?>
</div></div>

<?php endif; ?>